package com.gobi;

import com.alibaba.csp.sentinel.slots.statistic.base.LongAdder;

/**
 * @author Porter.YY
 * 2021/4/7.
 */
public class LongAdderTest {
    public static void main(String[] args) {
        LongAdder longAdder = new LongAdder();
        longAdder.add(1);
        longAdder.add(2);
        longAdder.add(1);
        System.out.println(longAdder.sum());
    }

}
